package com.yun.zf.common.mapstruct.admin;

import com.yun.zf.common.admin.model.activity.ActivityAddMo;
import com.yun.zf.common.admin.model.activity.CouponAddMo;
import com.yun.zf.common.app.domain.SysActivity;
import com.yun.zf.common.app.domain.SysCoupon;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ActivityMapper {
    ActivityMapper INSTANCE = Mappers.getMapper( ActivityMapper.class );

    SysActivity addOneActivityTo(ActivityAddMo activityAddMo);

    SysCoupon addCoupon(CouponAddMo couponAddMo);
}
